package com.four.marketing.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 侯新伟
 * @since 2021-12-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mark_seckill")
public class Seckill extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 秒杀ID
     */
    @TableId(value = "se_id", type = IdType.AUTO)
    private Integer seId;

    /**
     * 秒杀时段
     */
    private String seKillPeriod;

    /**
     * 商品图片
     */
    private String manIocn;

    /**
     * 活动标题
     */
    private String seTitle;

    /**
     * 活动简介
     */
    private String seContent;

    /**
     * 原价
     */
    private BigDecimal seOrginalPrice;

    /**
     * 秒杀价
     */
    private BigDecimal sePriceSpike;

    /**
     * 限量
     */
    private Integer seLimit;

    /**
     * 限量剩余
     */
    private Integer seLimitSurplus;

    /**
     * 秒杀状态
     */
    private Integer seStatus;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 秒杀配置id
     */
    private Integer conId;

    /**
     * 单位
     */
    private String seCompany;


}
